package timbap.visualizer.api.plugin.container;

import timbap.visualizer.api.plugin.Plugin;

/**
 * The <code>AbstractGlobalPluginFork</code> provides a base
 * implementation for plugin forks that contain global plugins
 * with no item-specific handling. It delegates the <code>draw()</code>
 * call directly to the <code>draw()</code> method of all child plugins.
 *
 * @author  Andreas Pabst
 * @see     timbap.visualizer.api.plugin.container.AbstractPluginFork
 * @see     timbap.visualizer.api.plugin.container.AbstractRecordItemsPluginFork
 * @see     timbap.visualizer.api.plugin.container.AbstractMixedPluginFork
 */
public abstract class AbstractGlobalPluginFork extends AbstractPluginFork {

	public void draw() {
    	for (Plugin tPlugin: getPlugins()) {
			tPlugin.draw();
    	}	
	}

}
